package com.hut.bms.service;

import com.hut.bms.mapper.UserInfoMapper;
import com.hut.bms.model.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserLoginService {
    @Autowired
    private UserInfoMapper userInfoMapper;
    public UserInfo getByUserName(String userName) {
        return userInfoMapper.selectByUserName(userName);
    }
}
